YAYDP\Core\Offer_Description\YAYDP_Offer_Description A

Total Complexity 73
Dependencies 5
Dependents 1
Total lines 395
Lines of code 279
Logical lines of code 182
Comment lines 86
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
get_formatted_discount_value_for_bulk_pricing()
S
47 5 33
get_formatted_discounted_price_for_bulk_pricing()
S
48 5 32
get_formatted_discount_amount_for_bulk_pricing()
S
48 5 32
get_formatted_discount_value()
S
59 6 14
get_formatted_discount_amount()
S
59 6 14
get_formatted_discounted_price()
S
59 6 14
__construct()
S
60 5 14
can_display()
S
60 4 14
get_formatted_discounted_price_for_other_cases()
S
56 3 16
get_formatted_discount_value_for_other_cases()
S
57 3 15
get_raw_content()
S
69 4 6
get_formatted_discount_amount_for_other_cases()
S
57 3 15
replace_discount_value()
S
64 3 10
replace_discount_amount()
S
64 3 10
replace_discounted_price()
S
64 3 10
get_formatted_discount_amount_for_free_item()
S
62 2 10
show_when_match_conditions()
S
78 2 3
is_enabled()
S
78 2 3
get_formatted_discount_value_for_free_item()
S
75 1 4
get_content()
S
69 1 7
get_formatted_discounted_price_for_free_item()
S
80 1 3